﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RuYiAdmin.Net.UniversalFoundation.Enums.Business
{
    /// <summary>
    /// 业务数据权限
    /// </summary>
    public enum BusinessDataPermissions
    {
        /// <summary>
        /// 无权限
        /// </summary>
        [Description("无权限")]
        None = 0,

        /// <summary>
        /// 仅本人
        /// </summary>
        [Description("仅本人")]
        Self‌ = 1,

        /// <summary>
        /// 所属部门
        /// </summary>
        [Description("所属部门")]
        AffiliatedDepartment = 2,

        /// <summary>
        /// 所属部门及以下
        /// </summary>
        [Description("所属部门及以下")]
        AffiliatedDepartmentsAndBelow = 3,

        /// <summary>
        /// 全部
        /// </summary>
        //[Description("全部")]
        //All‌ = 4,

        /// <summary>
        /// 自定义
        /// </summary>
        //[Description("自定义")]
        //CustomPermission = 5
    }
}
